package toubiao.domain.en;

public enum ProjectType {

	DESIGN("设计",0),ADVISORY("咨询",1);
	
	private String name;
	
	private int seq;
	
	private ProjectType(String name,int seq){
		 this.name = name;
         this.seq = seq;
	}
	
	// 普通方法
    public static String getName(int seq) {
        for (ProjectType c : ProjectType.values()) {
            if (c.getSeq() == seq) {
                return c.name;
            }
        }
        return null;
    }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}
	
}
